@import "base.css";

.root {
    -fx-focus-color: transparent;
    -fx-faint-focus-color: transparent;
    -fx-base: rgba(60, 63, 65, 255);
    /*-fx-text-fill: #c7c7c7;*/
    -base-text-color: #c7c7c7;
    -base-prompt-text-color: #919191;
    -base-selected-color: #405c93;
    -base-selected-text-color: white;
}

.table-view {
    -fx-border-width: 0;
    -fx-border-color: transparent;
}

.table-cell {
    -fx-text-fill: #BABAA6;
}

.table-row-cell:odd:selected {
    -fx-background-color: #4B6EAF;
}

.table-row-cell:even:selected {
    -fx-background-color: #4B6EAF;
}

.table-row-cell:odd {
    -fx-background-color: rgb(73, 76, 78);
}

.table-row-cell:even {
    -fx-background-color: rgb(82, 85, 87);
}

/** JFXTabPane */
.jfx-tab-pane .tab-header-background {
    -fx-background-color: rgb(48, 51, 53);
}

.jfx-tab-pane .tab-header-area .tab-down-button {
    -fx-background-color: WHITE;
    -fx-min-width: 0.8em;
    -fx-max-width: 0.8em;
    -fx-min-height: 1.3em;
    -fx-max-height: 1.3em;
}

.jfx-tab-pane .tab-header-area .control-buttons-tab .jfx-rippler {
    -jfx-rippler-fill: WHITE;
}

.jfx-tab-pane .tab-header-area .tab-down-button:left {
    -fx-shape: "M 742,-37 90,614 Q 53,651 53,704.5 53,758 90,795 l 652,651 q 37,37 90.5,37 53.5,0 90.5,-37 l 75,-75 q 37,-37 37,-90.5 0,-53.5 -37,-90.5 L 512,704 998,219 q 37,-38 37,-91 0,-53 -37,-90 L 923,-37 Q 886,-74 832.5,-74 779,-74 742,-37 z";

}

.jfx-tab-pane .tab-header-area .tab-down-button:right {
    -fx-shape: "m 1099,704 q 0,-52 -37,-91 L 410,-38 q -37,-37 -90,-37 -53,0 -90,37 l -76,75 q -37,39 -37,91 0,53 37,90 l 486,486 -486,485 q -37,39 -37,91 0,53 37,90 l 76,75 q 36,38 90,38 54,0 90,-38 l 652,-651 q 37,-37 37,-90 z"
}

.jfx-tab-pane .headers-region > .tab-selected-line {
    -fx-pref-width: 1px !important;
    -fx-pref-height: 2px;
}

.jfx-tab-pane .headers-region > .tab > .jfx-rippler {
    -jfx-rippler-fill: #99a2a4;
}

.jfx-tab-pane .headers-region .tab-selected-line {
    -fx-background-color: #99a2a4;;
}

.jfx-tab-pane .headers-region .tab:closable {
    -fx-border-color: rgba(255, 255, 255, .87);
    -fx-border-width: 0 2 0 0;
    -fx-border-style: dotted;
    -fx-border-insets: 8 0 8 0;
    -fx-padding: 0 8 0 8;
}

.jfx-tab-pane .headers-region .tab .tab-container .tab-label {
    -fx-text-fill: rgba(255, 255, 255, .87);
    -fx-font-weight: BOLD;
    -fx-padding: 6 10 6 10;
    -fx-font-size: 16;
}

.jfx-tab-pane .headers-region .tab:closable .tab-container .tab-label {
    -fx-padding: 0 8 0 6;
}

.jfx-tab-pane .headers-region .tab:selected .tab-container .tab-label {
    -fx-text-fill: WHITE;
}

/** JFXCheckbox **/
.jfx-check-box {
    -jfx-unchecked-color: #5A5A5A;
    -jfx-checked-color: #0F9D58;
}

.jfx-check-box .box-container {
    -fx-shape: "M 400 100 L 400 100 A 50 50 0 1 1 400 250 A 50 50 0 1 1 400 100 ";
    -fx-padding: 10;
}

.jfx-check-box .box,
.jfx-check-box:indeterminate .box,
.jfx-check-box:indeterminate:selected .box {
    -fx-pref-width: 18;
    -fx-pref-height: 18;

    -fx-min-width: -fx-pref-width;
    -fx-max-width: -fx-pref-width;
    -fx-min-height: -fx-pref-height;
    -fx-max-height: -fx-pref-height;

    -fx-background-color: TRANSPARENT;
    -fx-background-radius: 2;

    -fx-border-color: -jfx-unchecked-color;
    -fx-border-style: solid;
    -fx-border-radius: 2;
    -fx-border-width: 2;
}

.jfx-radio-button {
    -jfx-selected-color: #6897BB;
    -jfx-unselected-color: #7a7a7a;
}

.jfx-radio-button .radio-container:hover {
    -fx-cursor: hand;
}

.jfx-check-box:selected .box {
    -fx-border-color: -jfx-checked-color;
}

.jfx-check-box .mark {
    -fx-shape: "M384 690l452-452 60 60-512 512-238-238 60-60z";
    -fx-max-width: 15;
    -fx-max-height: 12;

    -fx-background-color: WHITE;

    -fx-border-color: WHITE;
    -fx-border-width: 2;
    -fx-border-radius: 2;
}

.jfx-check-box .indeterminate-mark {
    -fx-background-color: -jfx-checked-color;
    -fx-background-radius: 2;
    -fx-border-width: 0;
    -fx-max-width: 10;
    -fx-max-height: 10;
}

/* Split Pane */
.split-pane:horizontal > .split-pane-divider {
    -fx-background-color: transparent;
}

.split-pane:vertical > .split-pane-divider {
    -fx-background-color: transparent;
}

#vbox-screen {
    -fx-background-color: #5A5A5A;
}

/** Text Field **/

.jfx-text-field {
    -jfx-focus-color: #99a2a4;
    -jfx-unfocus-color: #7b7b7b;
    -fx-text-fill: -base-text-color;
    -fx-padding: 5px 0 0.333333em 5px;
}

.jfx-text-field > .input-line {
    -fx-background-color: -jfx-unfocus-color;
    -fx-pref-height: 1px;
    -fx-translate-y: 1px;
}

.jfx-text-field > .input-focused-line {
    -fx-background-color: -jfx-focus-color;
    -fx-pref-height: 2px;
}

.jfx-text-field,
.jfx-text-field:focused {
    -fx-background-color: TRANSPARENT, TRANSPARENT, TRANSPARENT;
    -fx-prompt-text-fill: #979797;
}

/*Raised button example */
.jfx-button {
    -jfx-button-type: RAISED;
    -fx-background-color: #676b6e;
    -fx-text-fill: white;
}

.tool-bar .jfx-button {
    -jfx-button-type: RAISED;
    -fx-background-color: #585C5F;
    -fx-text-fill: white;
}

.jfx-slider {
    -jfx-default-thumb: #6897BB;
    -jfx-default-track: #CCCCCC;
}

#tbListen {
    -jfx-toggle-color: #00d600;
    -jfx-untoggle-color: #bd0e06;
    -jfx-toggle-line-color: derive(-jfx-toggle-color, 85%);
    -jfx-untoggle-line-color: derive(-jfx-untoggle-color, 85%);
    -fx-font-size: 16px;
    -fx-font-weight: bold;
    -fx-font-smoothing-type: lcd;
    -fx-font-style: italic;
}

.jfx-toggle-button,
.jfx-toggle-button:armed,
.jfx-toggle-button:hover,
.jfx-toggle-button:focused,
.jfx-toggle-button:selected,
.jfx-toggle-button:focused:selected {
    -fx-background-color: TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT;
    -fx-background-radius: 3px;
    -fx-background-insets: 0px;

    -jfx-toggle-color: #6897BB;
    -jfx-untoggle-color: #FAFAFA;
    -jfx-toggle-line-color: derive(-jfx-toggle-color, 65%);
    -jfx-untoggle-line-color: #999999;
    -jfx-size: 10;
}

.jfx-check-box {
    -jfx-unchecked-color: #4b4b4b;
    -jfx-checked-color: #6897BB;
}

.jfx-hamburger-icon {
    -fx-spacing: 5;
}

.jfx-hamburger-icon StackPane {
    -fx-background-color: #74797B;
    -fx-background-radius: 2px;
}

.list-view {
    -fx-padding: 0px;
    -fx-background-color: #3B3E40;
}

.list-cell {
    -fx-padding: 0px;
    -fx-background-color: transparent; /*derive(-fx-base, -20%)*/;
    -fx-background-insets: 0px, 0px;
    -fx-text-fill: white;
}

.list-cell:hover {
    -fx-background-color: derive(-base-selected-color, -50%);
}

.list-cell:selected {
    -fx-border-color: transparent;
    -fx-background-color: derive(-base-selected-color, -20%); /*#6897BB;*/
    -fx-text-fill: -base-selected-text-color;
}

.list-cell:empty {
    -fx-padding: 0px;
    -fx-background-color: transparent;
    -fx-background-insets: 0;
}

/*.list-view .scroll-bar:horizontal {
    -fx-scale-x: 0;
}
.list-view .scroll-bar:vertical {
    -fx-scale-x: 2;
}*/

#font-browser-tf {
    -fx-background-color: #74797b;
}

/* COMBO BOX **/
.jfx-combo-box {
    -jfx-focus-color: #4059A9;
    -jfx-unfocus-color: #4d4d4d;
    -fx-prompt-text-fill: #919191;
}

.jfx-combo-box .text-field {
    -fx-text-fill: #c7c7c7;
}

.jfx-combo-box > .input-line {
    -fx-background-color: -jfx-unfocus-color;
    -fx-pref-height: 1px;
    -fx-translate-y: 1px;
}

.jfx-combo-box > .input-focused-line {
    -fx-background-color: #7B7B7B;
    -fx-pref-height: 2px;
}

.jfx-combo-box .list-cell:selected {
    -fx-border-color: transparent;
    /*-fx-background-color: transparent;*/
}

.jfx-combo-box,
.jfx-combo-box:focused,
.jfx-combo-box:editable,
.jfx-combo-box:editable:focused {
    -fx-background-color: TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT;
    -fx-background-radius: 3px;
    -fx-background-insets: 0px;
}

.jfx-combo-box .combo-box-button-container {
    -fx-background-color: TRANSPARENT;
}

.jfx-combo-box > .arrow-button,
.jfx-combo-box:editable > .arrow-button,
.jfx-combo-box:editable:focused > .arrow-button {
    -fx-background-color: TRANSPARENT;
}

.jfx-combo-box:error {
    -jfx-focus-color: #D34336;
    -jfx-unfocus-color: #D34336;
}

.jfx-combo-box .error-label {
    -fx-text-fill: #D34336;
}

.jfx-combo-box .error-icon {
    -fx-fill: #D34336;
}

/* Dialog Layout */
.jfx-dialog-layout {
    -fx-text-fill: rgba(0, 0, 0, 0.87);
    -fx-background-color: #4F5356;
}

.jfx-dialog-layout > .jfx-layout-heading {
    -fx-alignment: center-left;
    -fx-font-weight: BOLD;
    -fx-padding: 24 24 20 24;
}

.jfx-dialog-layout > .jfx-layout-actions {
    -fx-alignment: center-right;
    -fx-hgap: 8;
    -fx-padding: 8 8 8 8;
}

.jfx-dialog-layout > .jfx-layout-actions .jfx-button {
    -fx-pref-height: 36;
    -fx-max-height: 36;
    -fx-min-width: 64;
    -fx-padding: 8;
}

.jfx-dialog-layout > .jfx-layout-body {
    -fx-alignment: center-left;
    -fx-padding: 0 24 24 24;
    -fx-pref-width: 400;
}

.jfx-dialog-layout > .jfx-layout-body .label {
    -fx-text-fill: #757575;
    -fx-font-size: 16.0;
    -fx-wrap-text: true;
}

.jfx-text-area {
    -fx-text-fill: #cacaca;
}

.status-bar {
    -fx-border-color: transparent;
    -fx-background-color: #303335;
}

.status-indicator, .status-indicator:disabled {
    -fx-fill: #4c4c4c;
}

.status-indicator:on {
    -fx-fill: #00D600;
}

.status-indicator:off {
    -fx-fill: gray; /*#BD0E06;*/
}

.menu-item .label {
    -fx-text-fill: white;
}

.menu-item:focused {
    -fx-background-color: #4A7A88;
}

.menu-item:focused .label {
    -fx-text-fill: white;
}

.context-menu {
    -fx-skin: "com.sun.javafx.scene.control.skin.ContextMenuSkin";
    -fx-background-color: #4F5355;
    -fx-background-insets: 0, 1, 2;
    -fx-background-radius: 0 6 6 6, 0 5 5 5, 0 4 4 4;
    /*    -fx-padding: 0.666667em 0.083333em 0.666667em 0.083333em;  8 1 8 1 */
    -fx-padding: 0.333333em 0.083333em 0.666667em 0.083333em; /* 4 1 8 1 */
}

.jfx-chip-view .jfx-chip > HBox {
    -fx-font-family: "Roboto Medium";
    -fx-font-size: 10.0;
    -fx-background-color: #9d9d9d;
    -fx-background-radius: 40px;
    -fx-padding: 5px 8px 5px 12px;
    -fx-pref-height: 25px;
    -fx-alignment: center-left;
    -fx-spacing: 8;
}

#apFontDetails {
    -fx-background-color: #2C2C2C;
}